package com.sddf.common.exception;

import com.sddf.common.result.enums.IErrorCode;

public class BusinessException extends RuntimeException {

    private IErrorCode errorCode;
    public IErrorCode getErrorCode() {
        return errorCode;
    }

    public BusinessException() {
    }

    public BusinessException(IErrorCode errorCode) {
        this.errorCode = errorCode;
    }
}